import request from "@/utils/request";
import { getToken } from "@/utils/auth";

export function selectOrderSum(query) {
  return request({
    url: "/dataAccess/selectOrderSum",
    method: "post",
    data: query,
  });
}
export function selectNewOrderSum(query) {
  return request({
    url: "/dataAccess/selectNewOrderSum",
    method: "post",
    data: query,
  });
}
export function selectWorkload(query) {
  return request({
    url: "/dataAccess/selectWorkload",
    method: "post",
    data: query,
  });
}
export function selectApproveWorkload(query) {
  return request({
    url: "/dataAccess/selectApproveWorkload",
    method: "post",
    data: query,
  });
}
export function selectCareOfWorkload(query) {
  return request({
    url: "/dataAccess/selectCareOfWorkload",
    method: "post",
    data: query,
  });
}
export function selectDistributionOrder(query) {
  return request({
    url: "/dataAccess/selectDistributionOrder",
    method: "post",
    data: query,
  });
}
export function selectEndOrder(query) {
  return request({
    url: "/dataAccess/selectEndOrder",
    method: "post",
    data: query,
  });
}
